import service from "utils/request"

// 获取部门列表
export const getMenuList = (params) => {
  return service({
    url: "/menu/getMenuList",
    method: "get",
    params
  })
}

// 获取菜单树
export const getMenuTree = () => {
  return service({
    url: "/menu/getMenuTree",
    method: "get"
  })
}
